package hu.mapro.rollerx.core;

import com.badlogic.gdx.math.Vector2;

public class Ground6 extends AbstractGround {

	public Ground6() {
		super(true, true);
	}
	
	@Override
	public Vector2 getCarPosition(float carWidth, float carHeight) {
		return new Vector2(0, -carWidth*4);
	}

	@Override
	Vector2[][] generateVertices(float carWidth, float carHeight) {
		return new Vector2[][] {
				{
					new Vector2(carWidth*4, -carWidth*4),
					new Vector2(carWidth*4, carWidth*4),
					new Vector2(-carWidth*4, carWidth*4),
					new Vector2(-carWidth*4, -carWidth*4),
				},
				{
					new Vector2(carWidth*2, -carWidth*2),
					new Vector2(carWidth*2, carWidth*2),
					new Vector2(-carWidth*2, carWidth*2),
					new Vector2(-carWidth*2, -carWidth*2),
				},
		};
	}

}
